﻿package {
	import flash.events.Event;
	import flash.display.MovieClip;
	import flash.display.Sprite;
	
	public class wall extends Sprite
	{
		
		public function wall()
		{
			trace("criou parede");
			addEventListener(Event.ADDED_TO_STAGE, onadd);
		}
		
		
		function onadd(e:Event):void{
			//addEventListener(Event.ENTER_FRAME, loop);
		}
		
//		function loop(e:Event)
//		{
//			if(hitTestObject(stage.sp))
//			{
//				trace("hello");
//			}
//		}
	}
}